#import "RNDoubleActionBrowser.h"


@implementation RNDoubleActionBrowser

-(void)keyDown:(NSEvent *)theEvent {
    NSString *characters = [theEvent characters];
    unichar character = [characters characterAtIndex:0];
    if (character == ' ') {  
        [NSApp sendAction:[self doubleAction] to:[self target] from:self];
        return;
    }
    [super keyDown:theEvent];
}

@end
